package com.cloudsigns.factorymanager2.media_system.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.cloudsigns.factorymanager2.BaseActivity;
import com.cloudsigns.factorymanager2.R;

public class MediaSystemEditConstructContentActivity extends BaseActivity{
    private RelativeLayout rl_back;
    private TextView tv_title;
    private Button btn_save;

    @Override
    protected void onBaseCreate(Bundle savedInstanceState) {
        setContentView(R.layout.layout_media_system_edit_construct_content);
    }

    @Override
    protected void initView(Bundle savedInstanceState) {
        rl_back = findViewById(R.id.rl_back);
        tv_title = findViewById(R.id.tv_title);
        btn_save=findViewById(R.id.btn_save);
    }

    @Override
    protected void initData(Bundle savedInstanceState) {
        tv_title.setText(getResources().getString(R.string.edit_engineering_construct_content));
    }

    @Override
    public void setListener() {
        rl_back.setOnClickListener(this);
        btn_save.setOnClickListener(this);
    }

    @Override
    public void widgetClick(View view) {
switch (view.getId()){
    case R.id.rl_back:
        finish();
        break;
        // 保存
    case R.id.btn_save:
        break;
}
    }
}
